export const legalTableColumns = [
   {
    name: '公司名称',
    value: 'companyChiName',
    align: 'left',
    minWidth: '200px'
  }, {
    name: '注册类型',
    value: 'registerTypeTran',
    align: 'center',
    formatter(row) {
      switch (row.registerType) {
        case '01':
          row.registerTypeTran = '股份有限公司'
          break
        case '02':
          row.registerTypeTran = '有限责任公司'
          break
        case '03':
          row.registerTypeTran = '非公司制法人企业'
          break
        case '04':
          row.registerTypeTran = '合伙企业'
          break
        case '05':
          row.registerTypeTran = '企业分支机构'
          break
        case '06':
          row.registerTypeTran = '政府及其部门'
          break
        case '07':
          row.registerTypeTran = '事业法人'
          break
        case '08':
          row.registerTypeTran = '其他组织'
          break
      }
      return row.registerTypeTran
    }
  }, {
    name: '国有出资情形',
    value: 'stateEnterpreiseCapiDesc',
    align: 'center'
  }
]
export const naturalTableColumns = [
  {
    name: '姓名',
    value: 'nameChi',
    align: 'center'
  }, {
    name: '英文名',
    value: 'nameEng',
    align: 'center'
  },{
    name: '招商局员工工号',
    value: 'cmhkPersonId',
    align: 'center'
  }, {
    name: '性别',
    value: 'sexTag',
    width: '100px',
    align: 'center',
    formatter(row) {
      switch (row.sex) {
        case 'M':
          row.sexTag = '男'
          break
        case 'F':
          row.sexTag = '女'
          break
      }
      return row.sexTag
    }
  }
]
export const tableColumns = [
  {
    name: '姓名',
    value: 'empName',
    align: 'center'
  }, {
    name: '招商局员工工号',
    value: 'psId',
    align: 'center'
  }, {
    name: '所属组织',
    value: 'treeStructureName',
    minWidth: '200px',
    align: 'center'
  }
]
